import axios from '@/libs/api.request'

// 第三方应用管理
export class ThirdPartyApplicationAuthApi {
  // 根据条件获取第三方应用授权信息
  static getList (params) {
    return axios.request({
      url: '/ThirdPartyApplicationAuth/GetList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 批量取消绑定第三方应用信息
  static batchCancel (params) {
    return axios.request({
      url: '/ThirdPartyApplicationAuth/BatchCancel',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }
}
